package com.example.conf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author wpdcn
 * @since 2020-05-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("shop_member_coupon_use_record")
@ApiModel(value="ShopMemberCouponUseRecordEntity对象", description="")
public class ShopMemberCouponUseRecordEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Column(comment = "主键id")
    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Column(comment = "会员优惠券id")
    @ApiModelProperty(value = "会员优惠券id")
    private Long memberCouponId;

    @Column(comment = "使用的订单号")
    @ApiModelProperty(value = "使用的订单号")
    private String orderNo;

    @Column(comment = "使用时间")
    @ApiModelProperty(value = "使用时间")
    private LocalDateTime useTime;

    @Column(comment = "使用状态：1已使用；2已退回")
    @ApiModelProperty("使用状态：1已使用；2已退回")
    private String status;


}
